using UnityEngine;
using System.Collections;

public class difficultyScreen : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

void OnGUI()
{
		GUI.Label(new Rect(350,150,200,200), "Select your difficulty");
		if (GUI.Button(new Rect(Screen.width/2-50, Screen.height/2-50,200,50), "Easy"))
					{
						MainMenu.difficulty = 1;
						Application.LoadLevel(2);
					}	
		if (GUI.Button(new Rect(Screen.width/2-50, Screen.height/2,200,50), "Medium"))
					{
						MainMenu.difficulty = 2;
						Application.LoadLevel(2);
						
					}
		if (GUI.Button(new Rect(Screen.width/2-50, Screen.height/2+50,200,50), "Hard"))
					{
						MainMenu.difficulty = 3;
						Application.LoadLevel(2);
						
					}
	}
}
